package com.example.vv.config;

import java.io.Serializable;
import java.util.List;
import lombok.Data;

/**
 * 描述：// TODO
 *
 * @author w.dehai.2024/7/8.10:00
 */
@Data
public class PageResp<T> implements Serializable {
    private boolean success;
    private String code;
    private String desc;
    private DataInfo<T> data;

    @Data
    public static class DataInfo<T> implements Serializable {
        private Integer pageNum;
        private Integer pageSize;
        private Integer pages;
        private List<T> list;
    }
}
